﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace News
{
    public class RssItem
    {

        #region Properties
        private string _Title;
        private string _URL;
        private string _Description;
        private string _pubDate;
        private bool _Status;

        public string Title
        {
            get { return _Title; }
            set { _Title = value; }
        }

        public string URL
        {
            get { return _URL; }
            set { _URL= value; }
        }

        public string  Description
        {
            get { return _Description; }
            set { _Description = value; }
        }

        public string pubDate
        {
            get { return _pubDate; }
            set { _pubDate = value; }
        }

        public bool Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
       
        #endregion

        #region Constructor

        public RssItem()
        {
        }

        public RssItem(string URL)
        {
            _URL = URL;
        }

        public RssItem(string Title, string URL)
        {
            _Title = Title;
            _URL = URL;
        }

        public RssItem(string Title, string URL, bool Status)
        {
            _Title = Title;
            _URL = URL;
            _Status = Status;
        }

        public RssItem(string Title, string URL, string Description, bool Status)
        {
            _Title = Title;
            _URL = URL;
            _Status = Status;
            _Description = Description;
        }

        public RssItem(string Title, string URL, string Description, string pubDate, bool Status)
        {
            _Title = Title;
            _URL = URL;
            _Description = Description;
            _pubDate = pubDate;
            _Status = Status;
        }

        #endregion

    }

}
